package xian.woniuxy.dao;

import xian.woniuxy.entity.Type;

import java.util.List;
public interface TypeMapper {
    List<Type> findAll(int page, int size);

//    List<Type> findAll();

    int Count();

    List<Type> findByTypeName(String type_name);

    void save(Type Type);

    void deleteById(int id);

    void upd(Type type);
}
